<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
		<link href="Public/Admin/css/style.css" type="text/css" rel="stylesheet" />
    	<link href="Public/Admin/css/skin/fonts/font-awesome.min.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript" src="Public/Admin/js/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="Public/Admin/js/effect.js"></script>
		<script type="text/javascript" src="Public/Admin/js/common.js"></script>
	    <!--载入百度编辑器-->
	    <script type="text/javascript" charset="utf-8" src="Public/ueditor1_4_3/ueditor.config.js"></script>
    	<script type="text/javascript" charset="utf-8" src="Public/ueditor1_4_3/ueditor.all.min.js"> </script>
    	<script type="text/javascript" charset="utf-8" src="Public/ueditor1_4_3/lang/zh-cn/zh-cn.js"></script>
    	<script type="text/javascript">
    		$(function(){
    			$('#is_hot').click(function(){
    				if ($("#is_hot").is(":checked")) {  //alert("1");				 
						$(this).attr('value',1);
					}else{
						$(this).attr('value',0);
					}
    			})
    		})
    	</script>
	</head>
<body class="mainbody">
<!--前端需要验证，后台也需要验证，防止前端验证失效的情况，两套验证更加保险-->
<!--导航栏-->
<div class="location">
    <a href="{{U('Brand/index')}}" class="back"><i></i><span>返回列表页</span></a>
    <a href="{{U('Index/index')}}" class="home" target="_blank"><i></i><span>首页</span></a>
    <i class="arrow"></i>
    <a href="{{U('Brand/add')}}"><span>品牌管理</span></a>
    <i class="arrow"></i>
    <span>添加品牌</span>
</div>
<div class="line10"></div>
<!--/导航栏-->
		
<!--内容-->
<div id="floatHead" class="content-tab-wrap">
    <div class="content-tab">
    	<div class="content-tab-ul-wrap">
      		<div class="tab-title"><span>添加品牌</span><i></i></div>
      		<ul>
        	<li><a class="selected" href="javascript:;">添加品牌</a></li>   
      		</ul>
    	</div>
    </div>
</div>
<!--上传缩略图 需要enctype="multipart/form-data"和name-->
<form action="" method="post" enctype="multipart/form-data">
<div class="tab-content" style="display: block;">	
		
	<dl>
	    <dt>品牌名称</dt>
	    <dd>
	    	<input class="input normal" type="text" placeholder="请输入品牌名称" required="" name="bname">
	      <span class="Validform_checktip">*品牌名称最多50个字符</span>
	    </dd>
    </dl>
  		
    <dl>
    	<dt>品牌Logo</dt>
	    <dd>
	      <input type="file" name="logo">
	    </dd>
    </dl>
  
    <dl>
	    <dt>品牌排序</dt>
	    <dd>
	      <input  type="text" placeholder="请输入品牌排序"  name="sort" value="100" class="input small">
	      <span class="Validform_checktip">*数字</span>
	    </dd>
  	</dl> 
  	<dl>
	    <dt>是否热门</dt>
	    <dd>      
	      	<input type="checkbox" name="is_hot" value="0" id="is_hot"/>	      	       
	    </dd>
  	</dl>
  
	
</div>
<!--/内容-->
		
<!--工具栏-->
<div class="page-footer">
  <div class="btn-wrap" style="position: static;">
    <input type="submit" name="btnSubmit" value="提交保存" id="btnSubmit" class="btn">
    <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript:history.back(-1);">
  </div>
</div>
<!--/工具栏-->
</form>	
		
	</body>
</html>
